#ifndef WINDOWDESIGNAREA_H
#define WINDOWDESIGNAREA_H

#include <QScrollArea>
#include "ftkwindow.h"
#include "widgettree.h"

class WindowDesignArea : public QScrollArea
{
    Q_OBJECT
public:
    explicit WindowDesignArea(WidgetTree *tree, QWidget *parent = 0);

protected:

private:
    FtkWindow *ftkWindow;

signals:

private slots:
     void createWindow(WidgetTree *tree, QDomElement &element, QTreeWidgetItem *item);
};

#endif // WINDOWDESIGNAREA_H
